package com.gsafety.wellsfort.dao.course;

import com.gsafety.wellsfort.domain.model.course.LessonPeriod;

import java.util.List;
import java.util.Map;

public interface LessonPeriodDAO {
    int deleteByPrimaryKey(Integer id);

    int deleteByCourseId(Integer courseId);

    int insert(LessonPeriod record);

    int insertSelective(LessonPeriod record);

    LessonPeriod selectByPrimaryKey(Integer id);

    List<LessonPeriod> selectByCourseId(Integer courseId);

    int updateByPrimaryKeySelective(LessonPeriod record);

    int updateByPrimaryKey(LessonPeriod record);

    Integer finishCount();

}